@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${picture.id}">
            <input type="hidden" id="isDelValue" value="${picture.isDel}">
            <input type="hidden" id="categoryValue" value="${picture.category}">

            <div class="row">
                <div class="col-sm-12 b-r">
                    <div class="form-group">
                        <label class="col-sm-1 control-label">名称</label>
                        <div class="col-sm-11">
                            <input class="form-control" id="title" name="title" type="text">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-1 control-label">图片类别</label>
                        <div class="col-sm-11">
                            <select id="category" name="category" class="form-control">
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-1 control-label">图片类型</label>
                        <div class="col-sm-11">
                            <select id="type" name="type" class="form-control">
                                <option value="0">PC端</option>
                                <option value="1">移动端</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-1 control-label">排序值</label>
                        <div class="col-sm-11">
                            <input class="form-control" id="orderval" name="orderval" type="text">
                        </div>
                    </div>
                    <#date id="createTime" name="创建时间" underline="true" type="datetime" clickFun="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})"/>
                    <#picture id="picture" name="图片" underline="true"/>
                    <div class="form-group">
                        <label class="col-sm-1 control-label">是否删除</label>
                        <div class="col-sm-11">
                            <select id="isDel" name="isDel" class="form-control">
                                <option value="0">否</option>
                                <option value="1">是</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="PictureInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="PictureInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/pictureMgr/picture/picture_info.js"></script>
@}
